package chapter03;
class Student{
    String name;
    void red () {
        System.out.println("大家好，我是" +name);
    }
}
public class Example01 {
    public static void main(String[] args) {
        Student stu1 = new Student();
        Student stu2 = new Student();
        stu1.red();
        stu2.name = "小华";
        stu2.red();
    }
}